package com.th.supcom.pds.domain.pojo;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * CpoeBasicFreqDetail Pojo对象.
 * 
 * 医嘱频次配置详情表.
 */
public class CpoeBasicFreqDetail implements java.io.Serializable
{
	private static final long serialVersionUID = 1L;
	
    /** 主键ID.*/
    private Long m_basicFreqDetailId; 
       
    /** 频次编码（字典表TJ0050频次）.*/
    private String m_freqCode; 
       
    /** 频次数目.*/
    private String m_freqInterval; 
       
    /** 频次单位(H: 小时,D: 天,W: 周,T: 临时医嘱).*/
    private String m_freqIntervalUnits; 
       
    /** 频次次数.*/
    private String m_freqCounter; 
       
    /** 频次类别(按天型，按月型，按时间间隔型).*/
    private String m_freqType; 
       
    /** 缺省的执行时间.*/
    private String m_freqTime; 
       
    /** 持续频次标志.*/
    private String m_consistFlag; 
       
    /** 停用标志（0否，1是）.*/
    private String m_stopFlag; 
       
    /** 执行表达式.*/
    private String m_freqDesAct; 
       
    /** 频次描述.*/
    private String m_freqDesc; 
       
    
    /**
     * 默认构造器 .
     */
    public CpoeBasicFreqDetail ()
    {
    }
    
    /**
     * 获取主键ID属性.
     * 
     */
    public Long getBasicFreqDetailId ()
    {
        return m_basicFreqDetailId;
    }
    
    /**
     * 设置主键ID属性.
     * @param basicFreqDetailId.
     */
    public void setBasicFreqDetailId (Long basicFreqDetailId)
    {
        m_basicFreqDetailId = basicFreqDetailId;
    }
    
    /**
     * 获取频次编码（字典表TJ0050频次）属性.
     * 
     */
    public String getFreqCode ()
    {
        return m_freqCode;
    }
    
    /**
     * 设置频次编码（字典表TJ0050频次）属性.
     * @param freqCode.
     */
    public void setFreqCode (String freqCode)
    {
        m_freqCode = freqCode;
    }
    
    /**
     * 获取频次数目属性.
     * 
     */
    public String getFreqInterval ()
    {
        return m_freqInterval;
    }
    
    /**
     * 设置频次数目属性.
     * @param freqInterval.
     */
    public void setFreqInterval (String freqInterval)
    {
        m_freqInterval = freqInterval;
    }
    
    /**
     * 获取频次单位(H: 小时,D: 天,W: 周,T: 临时医嘱)属性.
     * 
     */
    public String getFreqIntervalUnits ()
    {
        return m_freqIntervalUnits;
    }
    
    /**
     * 设置频次单位(H: 小时,D: 天,W: 周,T: 临时医嘱)属性.
     * @param freqIntervalUnits.
     */
    public void setFreqIntervalUnits (String freqIntervalUnits)
    {
        m_freqIntervalUnits = freqIntervalUnits;
    }
    
    /**
     * 获取频次次数属性.
     * 
     */
    public String getFreqCounter ()
    {
        return m_freqCounter;
    }
    
    /**
     * 设置频次次数属性.
     * @param freqCounter.
     */
    public void setFreqCounter (String freqCounter)
    {
        m_freqCounter = freqCounter;
    }
    
    /**
     * 获取频次类别(按天型，按月型，按时间间隔型)属性.
     * 
     */
    public String getFreqType ()
    {
        return m_freqType;
    }
    
    /**
     * 设置频次类别(按天型，按月型，按时间间隔型)属性.
     * @param freqType.
     */
    public void setFreqType (String freqType)
    {
        m_freqType = freqType;
    }
    
    /**
     * 获取缺省的执行时间属性.
     * 
     */
    public String getFreqTime ()
    {
        return m_freqTime;
    }
    
    /**
     * 设置缺省的执行时间属性.
     * @param freqTime.
     */
    public void setFreqTime (String freqTime)
    {
        m_freqTime = freqTime;
    }
    
    /**
     * 获取持续频次标志属性.
     * 
     */
    public String getConsistFlag ()
    {
        return m_consistFlag;
    }
    
    /**
     * 设置持续频次标志属性.
     * @param consistFlag.
     */
    public void setConsistFlag (String consistFlag)
    {
        m_consistFlag = consistFlag;
    }
    
    /**
     * 获取停用标志（0否，1是）属性.
     * 
     */
    public String getStopFlag ()
    {
        return m_stopFlag;
    }
    
    /**
     * 设置停用标志（0否，1是）属性.
     * @param stopFlag.
     */
    public void setStopFlag (String stopFlag)
    {
        m_stopFlag = stopFlag;
    }
    
    /**
     * 获取执行表达式属性.
     * 
     */
    public String getFreqDesAct ()
    {
        return m_freqDesAct;
    }
    
    /**
     * 设置执行表达式属性.
     * @param freqDesAct.
     */
    public void setFreqDesAct (String freqDesAct)
    {
        m_freqDesAct = freqDesAct;
    }
    
    /**
     * 获取频次描述属性.
     * 
     */
    public String getFreqDesc ()
    {
        return m_freqDesc;
    }
    
    /**
     * 设置频次描述属性.
     * @param freqDesc.
     */
    public void setFreqDesc (String freqDesc)
    {
        m_freqDesc = freqDesc;
    }
    
    /**
     * 打印字符串.
     *
     * @return 打印.
     */
    public String toString ()
    {
        StringBuffer sb = new StringBuffer ();
        sb.append ("---------------------------------- start ----------------------------------\n");
        sb.append ("basicFreqDetailId:" + m_basicFreqDetailId + " freqCode:" + m_freqCode + " freqInterval:" + m_freqInterval + "\n");
        sb.append ("freqIntervalUnits:" + m_freqIntervalUnits + " freqCounter:" + m_freqCounter + " freqType:" + m_freqType + "\n");
        sb.append ("freqTime:" + m_freqTime + " consistFlag:" + m_consistFlag + " stopFlag:" + m_stopFlag + "\n");
        sb.append ("freqDesAct:" + m_freqDesAct + " freqDesc:" + m_freqDesc +  "\n");       
        sb.append ("----------------------------------  end  ----------------------------------\n"); 
        return sb.toString ();
    }
    
    
    /** 日志记录器. */
    public static final Logger logger = LoggerFactory.getLogger(CpoeBasicFreqDetail.class);
     
    /** 公司版权信息. */
    public static final String copyright = "Copyright 2015, TH Supcom Corporation";
    
    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";
    
    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";
    
    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";
    
    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}